package com.yu.mall;

import com.base.generator.Generator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan("com.yu.mall.mapper")
@EnableSwagger2
public class MallApplication {

    public static void main(String[] args) {
       /* try {
            Generator.generator();
        } catch (Exception e){
            e.printStackTrace();
        }*/
        SpringApplication.run(MallApplication.class, args);
    }

}
